Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wiki identifier for provider values in the wiki markup #559

Merged
merged 2 commits into from
Oct 19, 2023

Conversation

moltude
Copy link
Contributor

@moltude moltude commented Oct 18, 2023

No description provided.

@moltude moltude requested a review from DominicBM October 18, 2023 19:56
Copy link
Contributor

@DominicBM DominicBM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't test the actual function that was added, but assuming it outputs the WD ID as needed, the only change is at the line I indicated, where the output should still include hub = in the wiki markup, with the ID ont he same like after that.

@@ -248,7 +249,7 @@ package object model {
| | permission = {{${permissions}}}
| | source = {{ DPLA
| | ${escapeWikiChars(dataProviderWikiUri)}
| | hub = ${escapeWikiChars(record.provider.name.getOrElse(""))}
| | ${escapeWikiChars(providerWikiUri)}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should still have hub = here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it, thanks. I assumed it should have looked like the dataProviderWikiId w/o the hub = bit. Will revise.

@moltude moltude requested a review from DominicBM October 19, 2023 15:42
@DominicBM DominicBM merged commit 428fec6 into develop Oct 19, 2023
2 checks passed
@mdellabitta mdellabitta deleted the feature/wiki-uri-provider branch March 21, 2024 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants